import App from '../app'

export default [{
	path: '/',
	component: App,
	children: [{
		path: '/',
			component: resolve => require(['../view/index'], resolve)
		},
		// {
		// 	name: 'detail',
		// 	path: '/detail',
		// 	component: resolve => require(['../view/detail'], resolve)
		// },
		{
			name: 'class',
			path: '/class',
			component: resolve => require(['../view/class'], resolve)
		},
		{
			name: 'classpub',
			path: '/classpub',
			component: resolve => require(['../view/classpub'], resolve)
		},{
			name:'addclass',
			path:'/addclass',
			component: resolve => require(['../view/addclass'], resolve)
		},{
			name:'classdet',
			path:'/classdet',
			component: resolve => require(['../view/classdet'], resolve)
		},{
			name:'teacher',
			path:'/teacher',
			component: resolve => require(['../view/teacher'], resolve)
		},{
			name:'assistant',
			path:'/assistant',
			component: resolve => require(['../view/assistant'], resolve)
		},{
			name:'leave',
			path:'/leave',
			component: resolve => require(['../view/leave'], resolve)
		},{
			name:'detail',
			path:'/detail',
			component: resolve => require(['../view/detail'], resolve)
		},{
			name:'classedit',
			path:'/classedit',
			component: resolve => require(['../view/classedit'], resolve)
		},{
			name:'student',
			path:'/student',
			component: resolve => require(['../view/student'], resolve)
		}

	]
}]